package com.rear.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.rear.dao.ImgHouseDao;
import com.rear.entity.ImgHouseEntity;
import com.rear.service.ImgHouseService;



@Service("imgHouseService")
public class ImgHouseServiceImpl implements ImgHouseService {
	@Autowired
	private ImgHouseDao imgHouseDao;
	
	@Override
	public ImgHouseEntity queryObject(Integer id){
		return imgHouseDao.queryObject(id);
	}
	
	@Override
	public List<ImgHouseEntity> queryList(Map<String, Object> map){
		return imgHouseDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return imgHouseDao.queryTotal(map);
	}
	
	@Override
	public void save(ImgHouseEntity imgHouse){
		imgHouseDao.save(imgHouse);
	}
	
	@Override
	public void update(ImgHouseEntity imgHouse){
		imgHouseDao.update(imgHouse);
	}
	
	@Override
	public void delete(Integer id){
		imgHouseDao.delete(id);
	}
	
	@Override
	public void deleteBatch(Integer[] ids){
		imgHouseDao.deleteBatch(ids);
	}
	
}
